
package edu.tongji.jiaowu.service.impl;
 
import java.util.List;
import com.tongji.quickCRUDQ.service.impl.BaseManagerImpl;
import edu.tongji.jiaowu.dao.YearCollegeDao;
import edu.tongji.jiaowu.service.YearCollegeManager;
import com.tongji.quickCRUDQ.model.CommonBean;

public class YearCollegeManagerImpl extends BaseManagerImpl implements YearCollegeManager {
        private YearCollegeDao yearCollegeDao;

	
	public CommonBean createYearCollege(){
                return yearCollegeDao.createYearCollege();		
	}
	
/*
	public CommonBean findYearColleges(String refid) {
                return yearCollegeDao.findYearColleges(refid);
       }
*/
	public CommonBean findYearCollegeById(String id){
                return yearCollegeDao.findYearCollegeById(id);
       }	
	public CommonBean findAllYearColleges() {
                return yearCollegeDao.findAllYearColleges();
       }
	public void insertYearCollege(CommonBean yearCollegeBean){
               yearCollegeDao.insertYearCollege(yearCollegeBean);
	}
	
	public YearCollegeDao getYearCollegeDao(){
		return yearCollegeDao;
        }	
        
        public void setYearCollegeDao(YearCollegeDao yearCollegeDao){
                this.yearCollegeDao=yearCollegeDao;	
        }        		
}

